package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.CoursePricing;
import com.xmy.cultivate.mapper.CoursePricingMapper;
import com.xmy.cultivate.service.ICoursePricingService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 课程定价标准 服务实现类
 * </p>
 *
 * @author min
 * @since 2022-07-26
 */
@Service
public class CoursePricingServiceImpl extends ServiceImpl<CoursePricingMapper, CoursePricing> implements ICoursePricingService {

    @Autowired
    CoursePricingMapper coursePricingMapper;

    @Override
    public CoursePricing getCoursePricingByCourseId(Long courseId, Long schoolId, Integer count){
        return coursePricingMapper.getCoursePricingByCourseId(courseId,schoolId,count);
    }
}
